1bashThis demonstrates using Bash's history expansion to substitute a string in the last executed command.!!:s/<FROM>/<TO>/bash internalhistoryhistory expansionsubstitution